package com.heny.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.heny.demo.handler.GeometryTypeHandler;
import lombok.Data;
import org.locationtech.jts.geom.Point;

/**
 * @author :Yozuru
 * @since :2024/9/14 17:19
 */
@Data
@TableName("turn_point")
public class TurnPoint {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(typeHandler = GeometryTypeHandler.class)
    private Point coordinate;
    private String index;
}
